﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Test
{
    public class ControllerImpl:IController
    {
        public string AcceptString(string name, string name1)
        {
            return name + name1;
        }

        public string Login(string userName, string password)
        {
            if (String.Compare(userName, "jenvin", true) == 0)
            {
                return String.Format("login success userName={0},password={1}", userName, password);
            }
            return "login failed";
        }
    }
}
